package com.lanhai.model;

import java.awt.geom.GeneralPath;

/**
 * 限行区
 * @author liangmin
 *
 */
public class LimitArea {
	public int id;//ID
	public String name;//名称
	public Double[] mapXArr;//顶点的X座标数组
	public Double[] mapYArr;//顶点的Y座标数组
	public GeneralPath shape;
	public int limitQty;//限行数
	public int onQty;//已经驶入的AGV数量
	public int item;//排序
	public int step;//所属工序
	   
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getLimitQty() {
		return limitQty;
	}
	public void setLimitQty(int limitQty) {
		this.limitQty = limitQty;
	}
	public int getOnQty() {
		return onQty;
	}
	public void setOnQty(int onQty) {
		this.onQty = onQty;
	}
	public int getItem() {
		return item;
	}
	public void setItem(int item) {
		this.item = item;
	}
	public Double[] getMapXArr() {
		return mapXArr;
	}
	public void setMapXArr(Double[] mapXArr) {
		this.mapXArr = mapXArr;
	}
	public Double[] getMapYArr() {
		return mapYArr;
	}
	public void setMapYArr(Double[] mapYArr) {
		this.mapYArr = mapYArr;
	}
	public GeneralPath getShape() {
		return shape;
	}
	public void setShape(GeneralPath shape) {
		this.shape = shape;
	}
	public int getStep() {
		return step;
	}
	public void setStep(int step) {
		this.step = step;
	}
	
	@Override
	public String toString(){
		return "No:" + id + ",名称:" + name + ",限:" + limitQty + ",驶入:" + onQty;
	}
}
